package com.ly.repository;

/**
 * @author ：LY
 * @date ：Created in 2021/1/3 9:55
 * @modified By：
 */
public class test {
    public static void main(String[] args) {
        StringBuffer sbuf =new StringBuffer("test");
        System.out.println("subf="+sbuf);
        modify(sbuf);
        System.out.println("sbuf="+sbuf);
    }
    static void modify(StringBuffer sb ){
        sb= new StringBuffer("does not work");
    }
}
